package com.supemarket.dao;
/**
 * 查询所有类
 */
import java.util.List;

import com.supemarket.entity.Member;
import com.supemarket.entity.admin;
import com.supemarket.entity.commodity;
import com.supemarket.entity.purchase;
import com.supemarket.entity.sale;
import com.supemarket.entity.staff;
import com.supemarket.entity.supplier;

public interface SelectSupemarketDao {
		/**
		 * 查询管理员
		 * @return
		 */
		public List<admin> admins();
		/**
		 * 查询商品
		 * @return
		 */
		public List<commodity>commodities();
		/**
		 * 查询购物卡
		 * @return
		 */
		public List<Member>members();
		/**
		 * 查询进货
		 * @return
		 */
		public List<purchase>purchases();
		/**
		 * 查询销售
		 * @return
		 */
		public List<sale> sales();
		/**
		 * 查询所有员工
		 * @return
		 */
		public List<staff> staffs();
		/**
		 * 查询供货商
		 * @return
		 */
		public List<supplier>suppliers();
		
		/**
		 * 登陆
		 * @param password
		 * @param username
		 * @return
		 */
		public admin denglu(String password, String username);
		
}
